package com.boruan.qq.zxgylibrary.service.view;

import com.boruan.qq.zxgylibrary.base.BaseView;
import com.boruan.qq.zxgylibrary.service.model.AddressBackPriceBean;
import com.boruan.qq.zxgylibrary.service.model.AddressListBean;

import java.util.List;

/**
 * Created by 崔琦 on 2019/9/5.
 * des: ....
 */

public interface AddressView extends BaseView{

    void addAddressSuccess(String msg);
    void addAddressFailed(String msg);

    void deleteAddressSuccess(String msg);
    void deleteAddressFailed(String msg);

    void modifyAddressSuccess(String msg);
    void modifyAddressFailed(String msg);

    void getAddressListSuccess(List<AddressListBean.ResultBean> addressListBean);
    void getAddressListFailed(String msg);

    void addressBackPriceSuccess(AddressBackPriceBean.ResultBean addressBackPriceBean, int addressId, String fullAddress, String userInfo);
    void addressBackPriceFailed(String msg);

    void modifyDefaultAddressSuccess(String msg);
    void modifyDefaultAddressFailed(String msg);
}
